package com.crm.model.vo.returnMoney;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 银行流水导入实体类
 * @author yuanyunfeng
 * @date 2021/7/26 10:05
 */
@Data
public class BankImportModel{

    //交易流水号
    @ExcelProperty(index = 0)
    private String transactionNo;

    //交易日期
    @ExcelProperty(index = 1)
    private String transactionDate;

    //摘要
    @ExcelProperty(index = 2)
    private String abstracts;

    //收款方账号
    @ExcelProperty(index = 3)
    private String payeeAcount;

    //收款方名称
    @ExcelProperty(index = 4)
    private String payeeName;

    //对方单位名称
    @ExcelProperty(index = 5)
    private String oppositeCompany;

    //对方银行名称
    @ExcelProperty(index = 6)
    private String oppositeBank;

    //对方银行账号
    @ExcelProperty(index = 7)
    private String oppositeBankAccount;

    //贷方金额
    @ExcelProperty(index = 8)
    private String creditMoney;

    //所属分公司
    @ExcelProperty(index = 9)
    private String companyName;

    //是否重复（Y-重复记录）
    private String isRepeat;

    //创建时间
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private String errorReason;//错误原因

}
